const mongoose = require('mongoose')

const testedSchema = new mongoose.Schema({
    score: String,
    studentId: {
        type: mongoose.SchemaTypes.ObjectId,
        ref: 'studentModel'
    },
    testId: {
        type: mongoose.SchemaTypes.ObjectId,
        ref: 'testModel'
    }
})

mongoose.model('testedModel',testedSchema,'testeds');
module.exports.testedModel = 'testedModel';